import time


def transalte_date(x):
    try:
        date_time = time.localtime(x / 1000)
        return time.strftime('%Y-%m-%d', date_time)
    except:
        return None
